<%@page import="nstock.Cookiename"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>History Image</title>
	</head>
	<body>
		<%
			String e = request.getHeader("Referer");
			if (e != null) {
				if (request.getParameter("code") != null) {
		%>
		<%
			}
		%>
		<center>
			<form action="image.jsp" method="post"
				enctype="application/x-www-form-urlencoded" target="_self"
				id="imageselfform">
				code:
				<input type="text" name="code" id="code" />
				<input name="submit" type="submit" id="submit" value="提交" />
			</form>
		</center>
		<%
			}
			Cookiename ce = new Cookiename(request.getCookies());
			String agent = ce.searchbyName("agent");
			if(agent != null &&  agent.compareToIgnoreCase("admin") ==0)
			{
				
			}
			if(agent != null &&  agent.compareToIgnoreCase("user") ==0)
			{
				
			}
		%>
	</body>
</html>